package com.example.chat.model.ro;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author pq
 * @date 2022/8/14 12:01
 * @description
 * @modified
 **/
@Data
@ApiModel
public class ChatRecordsRo {

    /**
     * 聊天消息
     */
    @ApiModelProperty
    private String chatMessage;

    /**
     * 创建时间
     */
    @ApiModelProperty
    @NotBlank(message="创建时间不能为空")
    private Date createTime;

}
